﻿<Window x:Class="ThanNhanTao.About"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        dxc:ThemeManager.ThemeName="Office2007Blue"
        Title="Thông tin" WindowStartupLocation="CenterScreen" 
        WindowStyle="None" Width="490" Height="350"
        AllowsTransparency="True" ResizeMode="NoResize" Background="Transparent" 
        HorizontalContentAlignment="Center" VerticalContentAlignment="Center" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars">
    <Window.Resources>
        <Style x:Key="ButtonDong" TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid>
                            <Image x:Name="Vector_Smart_Object2" Source="/ThanNhanTao;component/Images/Icons/close-32x32.png" />
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" />
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsFocused" Value="True" />
                            <Trigger Property="IsDefaulted" Value="True" />
                            <Trigger Property="IsMouseOver" Value="True" />
                            <Trigger Property="IsPressed" Value="True" />
                            <Trigger Property="IsEnabled" Value="False" />
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="FocusVisualStyle" Value="{x:Null}" />
        </Style>
    </Window.Resources>
    <Canvas x:Name="dang_nhap" HorizontalAlignment="Left" VerticalAlignment="Top" Width="490" Height="350" ClipToBounds="True">
        <Image Width="490" x:Name="blackLog" Height="310" Source="/ThanNhanTao;component/Images/BakLogin.png" Canvas.Left="0" Canvas.Top="-1" Stretch="None" />
        <Label Canvas.Left="20" Canvas.Top="94" Content="PHẦN MỀM QUẢN LÝ KHOA THẬN NHÂN TẠO" Height="28" Name="label1" 
               VerticalContentAlignment="Center" HorizontalContentAlignment="Center" 
               FontWeight="Bold" Foreground="MediumSlateBlue" FontSize="16" Width="447" />
        <Label Canvas.Left="20" Canvas.Top="118" Content="BỆNH VIỆN ĐA KHOA ĐÀ NẴNG" Height="28" Name="label2" 
               VerticalContentAlignment="Center" HorizontalContentAlignment="Center" 
               FontWeight="Bold" Foreground="MediumSlateBlue" FontSize="16" Width="447" />
        <Label Canvas.Left="20" Canvas.Top="199" Content="Thông tin liên hệ" Height="28" Name="label3" 
               VerticalContentAlignment="Center" HorizontalContentAlignment="Center" 
               FontWeight="Bold" Foreground="MediumSlateBlue" FontSize="16" Width="447" />
        <Label Canvas.Left="20" Canvas.Top="222" Content="Số điện thoại: 0935525200" Height="28" Name="label4" 
               VerticalContentAlignment="Center" HorizontalContentAlignment="Center" 
               FontWeight="Bold" Foreground="MediumSlateBlue" FontSize="16" Width="447" />
        <Button Name="imaDong" Canvas.Left="432" Canvas.Top="259" IsDefault="False" Cursor="Hand" BorderThickness="0" ClickMode="Release" Style="{DynamicResource ButtonDong}" Width="32" Height="32" Opacity="1" Click="imaDong_Click" />
    </Canvas>
</Window>
